import { request, RequestEnum, ContentTypeEnum } from "@/utils/request.js"

// 添加收藏
export const reqAddCollect = data => request(`/collect/add`, RequestEnum.POST, data)

// 删除收藏
export const reqDeleteCollect = id => request(`/collect/delete/${id}`, RequestEnum.GET)

// 分页查询收藏
export const reqCollectPage = data => request(`/collect/select`, RequestEnum.GET, data)